<%@ page language="java" contentType="text/html; charset=utf-8"
		 pageEncoding="UTF-8" %>
		 
<!--  
<script src="test.js">
	// <img name="" src="demo.jpg" onload="javascript:resizeimg(this,100,200)">
</script>
-->
<script src="jquery_pic.js"></script>

<html xmlns="http://www.w3.org/1999/xhtml">
<styletype"text/css">
<!--
img{width:410px; height:253px;}
.con{ width:900px; height:800px;position:relative; overflow:hidden; border:1px dashed #0066CC}
-->
</style>

</head>
<body>
告诉你一个应有尽有的网页特效网址：<a href="http://myjs.jz123.cn">http://myjs.jz123.cn</a>
<hr />

先点击一下图片，然后可以拖动放大
<div class="con" contentEditable=true><img id="demo" src="demo.jpg" /></div>

<input type="button" onclick="doSave()" value="保存">
</body>
</html>

<script>
function doSave() {
	var img = document.getElementById("demo");
	alert(img.src + ",width = " + img.width + ",height = " + img.height);
}
</script>


